package JAVACORE_TRAINING.OOPs.OOPs_EXCERCISES.LEVER02.EX05;

public class StockObject {
	private String symbol, name;
	private double previousClosingPrice, currentPrice ;
    
    public StockObject(String symbol, String name){
         this.symbol = symbol;
         this.name = name;
    }

    public String getSymbol() {
        return symbol;
    }

    public void setSymbol(String symbol) {
        this.symbol = symbol;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getPreviousClosingPrice() {
        return previousClosingPrice;
    }

    public void setPreviousClosingPrice(double previousClosingPrice) {
        this.previousClosingPrice = previousClosingPrice;
    }

    public double getCurrentPrice() {
        return currentPrice;
    }

    public void setCurrentPrice(double currentPrice) {
        this.currentPrice = currentPrice;
    }
}
